package com.keon.jianbao.bean;

import com.google.gson.reflect.TypeToken;
import com.keon.jianbao.util.JsonUtils;

import java.lang.reflect.Type;
import java.util.List;

/**
 * Created by keon on 2015/10/20.
 */
public class BeanActivityList extends ListEntity {
    public BeanActivityList(String content) {
        super(content);
    }

    @Override
    public List getList() {
        Type listType = new TypeToken<List<BeanActivity>>() {
        }.getType();
        return JsonUtils.listFromJson(content, listType);
    }
}
